# -*- coding: utf-8 -*-
# @Author : HaleShi
# @Time : 2023-06-16
# @File : 5_iid.py

import hashlib
import uuid
import base64

def create_iid():
    iid = str(uuid.uuid4()) + str(1686908043922)
    iid_byte = iid.encode('utf-8')
    print(iid_byte)
    # hash_object = hashlib.md5()
    # hash_object.update(iid_byte)
    # bytes_data = hash_object.hexdigest()
    result = "".join([hex(item)[2:].rjust(2, "0") for item in iid_byte])
    print(result)
    return result



create_iid()
